
<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8"/>
    <title>IconFont</title>
    <link rel="stylesheet" href="demo.css">
    <link rel="stylesheet" href="iconfont.css">
</head>
<body>
    <div class="main markdown">
        <h1>IconFont 图标</h1>
        <ul class="icon_lists clear">
            
                <li>
                <i class="icon iconfont icon-pulldown"></i>
                    <div class="name">pulldown</div>
                    <div class="fontclass">.icon-pulldown</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-arrowright"></i>
                    <div class="name">arrowright</div>
                    <div class="fontclass">.icon-arrowright</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-location_bg"></i>
                    <div class="name">location_bg</div>
                    <div class="fontclass">.icon-location_bg</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-morning"></i>
                    <div class="name">morning</div>
                    <div class="fontclass">.icon-morning</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-phone"></i>
                    <div class="name">phone</div>
                    <div class="fontclass">.icon-phone</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-night"></i>
                    <div class="name">night</div>
                    <div class="fontclass">.icon-night</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-shop"></i>
                    <div class="name">shop</div>
                    <div class="fontclass">.icon-shop</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-location"></i>
                    <div class="name">location</div>
                    <div class="fontclass">.icon-location</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-edit"></i>
                    <div class="name">edit</div>
                    <div class="fontclass">.icon-edit</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-payment_success"></i>
                    <div class="name">payment_success</div>
                    <div class="fontclass">.icon-payment_success</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-hint_coin"></i>
                    <div class="name">hint_coin</div>
                    <div class="fontclass">.icon-hint_coin</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-daizhifu"></i>
                    <div class="name">daizhifu</div>
                    <div class="fontclass">.icon-daizhifu</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-payment_wrong"></i>
                    <div class="name">payment_wrong</div>
                    <div class="fontclass">.icon-payment_wrong</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-yiqianshou"></i>
                    <div class="name">yiqianshou</div>
                    <div class="fontclass">.icon-yiqianshou</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-daishangjiashouhuo"></i>
                    <div class="name">daishangjiashouhuo</div>
                    <div class="fontclass">.icon-daishangjiashouhuo</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-yiwancheng"></i>
                    <div class="name">yiwancheng</div>
                    <div class="fontclass">.icon-yiwancheng</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-daifahuo"></i>
                    <div class="name">daifahuo</div>
                    <div class="fontclass">.icon-daifahuo</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-jiaoyiguanbi"></i>
                    <div class="name">jiaoyiguanbi</div>
                    <div class="fontclass">.icon-jiaoyiguanbi</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-download"></i>
                    <div class="name">download</div>
                    <div class="fontclass">.icon-download</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-shezhi"></i>
                    <div class="name">shezhi</div>
                    <div class="fontclass">.icon-shezhi</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-shoucang"></i>
                    <div class="name">shoucang</div>
                    <div class="fontclass">.icon-shoucang</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-songjipeitongbanlizhijishouxu"></i>
                    <div class="name">peitongbanlizhijishouxu</div>
                    <div class="fontclass">.icon-songjipeitongbanlizhijishouxu</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-songjisongwangdengji"></i>
                    <div class="name">songwangdengji</div>
                    <div class="fontclass">.icon-songjisongwangdengji</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-songjihanglituoyun"></i>
                    <div class="name">daibanxilingtuoyun</div>
                    <div class="fontclass">.icon-songjihanglituoyun</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-jiejisongdadaochengzuojiaotonggongjuchu"></i>
                    <div class="name">chengzuojiaotong</div>
                    <div class="fontclass">.icon-jiejisongdadaochengzuojiaotonggongjuchu</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-jiejijupai"></i>
                    <div class="name">Pick up placards</div>
                    <div class="fontclass">.icon-jiejijupai</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-jiejixiezhutiquhangli"></i>
                    <div class="name">Extraction of luggage</div>
                    <div class="fontclass">.icon-jiejixiezhutiquhangli</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-songjipeitonganjian"></i>
                    <div class="name">peitongsanjian</div>
                    <div class="fontclass">.icon-songjipeitonganjian</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-triangle"></i>
                    <div class="name">triangle</div>
                    <div class="fontclass">.icon-triangle</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-tingjiping"></i>
                    <div class="name">tingjiping</div>
                    <div class="fontclass">.icon-tingjiping</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-baiduche"></i>
                    <div class="name">shuttle bus</div>
                    <div class="fontclass">.icon-baiduche</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-zhuanren"></i>
                    <div class="name">zhuanrenjiesongji</div>
                    <div class="fontclass">.icon-zhuanren</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-daixiaofei"></i>
                    <div class="name">daixiaofei</div>
                    <div class="fontclass">.icon-daixiaofei</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-Goldcoin"></i>
                    <div class="name">Gold coin</div>
                    <div class="fontclass">.icon-Goldcoin</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-movie"></i>
                    <div class="name">movie</div>
                    <div class="fontclass">.icon-movie</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-fitness"></i>
                    <div class="name">fitness</div>
                    <div class="fontclass">.icon-fitness</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-more"></i>
                    <div class="name">more</div>
                    <div class="fontclass">.icon-more</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-brands"></i>
                    <div class="name">brands</div>
                    <div class="fontclass">.icon-brands</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-restaurant"></i>
                    <div class="name">restaurant</div>
                    <div class="fontclass">.icon-restaurant</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-travel"></i>
                    <div class="name">travel</div>
                    <div class="fontclass">.icon-travel</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-hotel"></i>
                    <div class="name">hotel</div>
                    <div class="fontclass">.icon-hotel</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-gift"></i>
                    <div class="name">gift</div>
                    <div class="fontclass">.icon-gift</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-Drink"></i>
                    <div class="name">Drink</div>
                    <div class="fontclass">.icon-Drink</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-Dessert"></i>
                    <div class="name">Dessert</div>
                    <div class="fontclass">.icon-Dessert</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-Dishes"></i>
                    <div class="name">Dishes</div>
                    <div class="fontclass">.icon-Dishes</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-Chef"></i>
                    <div class="name">Chef</div>
                    <div class="fontclass">.icon-Chef</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-Reservations"></i>
                    <div class="name">Reservations</div>
                    <div class="fontclass">.icon-Reservations</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-teyuedailidianpu"></i>
                    <div class="name">特约代理店铺</div>
                    <div class="fontclass">.icon-teyuedailidianpu</div>
                </li>
            
        </ul>

        <h2 id="font-class-">font-class引用</h2>
        <hr>

        <p>font-class是unicode使用方式的一种变种，主要是解决unicode书写不直观，语意不明确的问题。</p>
        <p>与unicode使用方式相比，具有如下特点：</p>
        <ul>
        <li>兼容性良好，支持ie8+，及所有现代浏览器。</li>
        <li>相比于unicode语意明确，书写更直观。可以很容易分辨这个icon是什么。</li>
        <li>因为使用class来定义图标，所以当要替换图标时，只需要修改class里面的unicode引用。</li>
        <li>不过因为本质上还是使用的字体，所以多色图标还是不支持的。</li>
        </ul>
        <p>使用步骤如下：</p>
        <h3 id="-fontclass-">第一步：引入项目下面生成的fontclass代码：</h3>


        <pre><code class="lang-js hljs javascript"><span class="hljs-comment">&lt;link rel="stylesheet" type="text/css" href="./iconfont.css"&gt;</span></code></pre>
        <h3 id="-">第二步：挑选相应图标并获取类名，应用于页面：</h3>
        <pre><code class="lang-css hljs">&lt;<span class="hljs-selector-tag">i</span> <span class="hljs-selector-tag">class</span>="<span class="hljs-selector-tag">iconfont</span> <span class="hljs-selector-tag">icon-xxx</span>"&gt;&lt;/<span class="hljs-selector-tag">i</span>&gt;</code></pre>
        <blockquote>
        <p>"iconfont"是你项目下的font-family。可以通过编辑项目查看，默认是"iconfont"。</p>
        </blockquote>
    </div>
</body>
</html>
